package com.whu.exam.modules.sys.config.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 通用配置实体类
 * </p>
 */
@Data
@TableName("sys_config")
public class SysConfig extends Model<SysConfig> {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @ApiModelProperty(value = "ID", required=true)
    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private String id;

    /**
     * 系统名称
     */
    @ApiModelProperty(value = "系统名称")
    @TableField("site_name")
    private String siteName;

    /**
     * 前端LOGO
     */
    @ApiModelProperty(value = "前端LOGO")
    @TableField("front_logo")
    private String frontLogo;

    /**
     * 后台LOGO
     */
    @ApiModelProperty(value = "后台LOGO")
    @TableField("back_logo")
    private String backLogo;

}
